// import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';

import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import './assets/css/base.css'
import './assets/css/element-variables.scss'
import './assets/css/iconfont.css'
import './assets/css/xdeas-ui.less'
import './assets/css/override-ant.less'
import './assets/fonts/iconfont.css';
import Viewer from 'v-viewer'
import 'viewerjs/dist/viewer.css'
import * as echarts from 'echarts';
// import infiniteScroll from 'vue-infinite-scroll'
// Vue.config.productionTip = false;
import components from './common/index';
export default async ({
  Vue
}) => {
  if (typeof process === 'undefined') {
    Vue.prototype.$echarts = echarts
    Vue.use(Antd)
    Vue.use(components);
    Vue.use(Viewer);
    // Vue.use(infiniteScroll);
  }
}
